import request from '~/utils/request'
export default{
  // 2、查询指定id的讲师
  getTeacher(id) {
    return request({
      url: `/api/edu/teacher/${id}`,
      method: 'GET'
    })
  },
  // 1、查询所有讲师
  getTeachers() {
    return request({
      url: '/api/edu/teacher',
      method: 'GET'
    })
  }
}
